import request from '@/store/request'

/**
 * 列表查询接口
 * @param params
 */
export function loadChargerBuildApplyDatas(params) {
  return request({
    url: 'charger/apply/list',
    method: 'get',
    dataType: 'json',
    params: params
  })
}
/**
 * 详情查询接口
 * @param id
 */
export function loadChargerBuildApplyDetail(id) {
  return request({
    url: 'charger/apply/detail/' + id,
    method: 'get',
    dataType: 'json'
  })
}

export function handleApply(params) {
  return request({
    url: 'charger/apply/handle',
    method: 'post',
    data: params,
    dataType: 'json'
  })
}
